package com.spring.beans.factory;

import com.spring.beans.BeansException;

/**
 * @desprition:javaBean的工厂由于获取已经实例化好的javaBean对象
 */
public interface BeanFactory {


    Object getBean(String name) throws BeansException;

    Object getBean(String name, Object... args) throws BeansException;

    <T> T getBean(String name, Class<T> requiredType) throws BeansException;

}
